import axios from "axios";

//获取所有大学的
// college_name province  start_type
// college_type college_tag
// 10条 一分页
export function getCollegeByPage(collegeConditionFrom,currentPage) {
    return axios(
        {
            method: "post",
            url: "/college/getCollegeByPage",
            data:{
                collegeConditionFrom:collegeConditionFrom,
                currentPage:currentPage
            }
        }
    )
}

// //根据大学collegeName 获取指定大学信息
// export function getCollegeByCollegeName(collegeName) {
//     return axios(
//         {
//             method: "post",
//             url: "/college/getCollegeByCollegeName",
//             data: {
//                 collegeName:collegeName
//             }
//         }
//     )
// }


export default {getCollegeByPage}
